package com.spring.shopping.service;
import com.spring.shopping.entity.Product;

import java.util.List;


/*
 * @Coding By ZTK:
 */

public interface ProductService {
    void addProduct(Product product);
    List<Product> getAllProducts();
    Product getProductById(Integer id);
    List<Product> getProductsByUserId(Integer userId);
    List<Product> getProductsByCategory(String category);
}